package model

// Teacher 教师模型
type Teacher struct {
	Base
	UserID      uint   `json:"user_id"`
	User        User   `gorm:"foreignKey:UserID" json:"user"`
	Department  string `json:"department"`
	Title       string `json:"title"`
	Description string `json:"description"`
}
